<template>
  <div class="wodedz">
    <Header>
      <template v-slot:left>
        <span @click="goto()">&lt;我的收获地址</span>
      </template>
      <template v-slot:right>
        <span>...</span>
      </template>
    </Header>
    <Wlist></Wlist>
    <div class="addAddress" @click="gotoaddAddress()">新增地址</div>
  </div>
</template>

<script>
import Header from "../../../components/Header";
import Wlist from "./Wlist";

export default {
  components: {
    Header,
    Wlist
  },
  methods: {
    goto() {
      this.$router.push({
        name: "wode"
      });
    },
    gotoaddAddress() {
      this.$router.push({
        name: "addaddress"
      });
    }
  }
};
</script>

<style>
</style>